package com.sms.graduate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("sms_user")
public class SmsUser extends PageUtil implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "Id",type = IdType.AUTO)
    private Integer id;
    
    /** 
     *用户名 
     */
    @TableField(value = "Username")
    private String username;
    
    /** 
     *用户密码 
     */
    @TableField(value = "Password")  
    private String password;
    
    /** 
     *手机号 
     */
    @TableField(value = "Phone")  
    private String phone;
    
    /** 
     *学号 
     */
    @TableField(value = "UserCode")  
    private String usercode;
    
    /** 
     *邮箱 
     */
    @TableField(value = "Email")  
    private String email;
    
    /** 
     *家庭地址 
     */
    @TableField(value = "Address")  
    private String address;
    
    /** 
     *性别 
     */
    @TableField(value = "Sex")  
    private String sex;

    /**
     * 角色
     */
    @TableField(value = "role")
    private String role;

    /**
     * 所在班级
     */
    @TableField(value = "user_class")
    private String userClass;

    /**
     * 所在专业
     */
    @TableField(value = "user_major")
    private String userMajor;

    /**
     * 所在宿舍
     */
    @TableField(value = "user_hostel")
    private String userHostel;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    @TableField(value = "user_photo")
    private String userPhoto;

    /**
     * 班级里的人数
     */
    @TableField(exist = false)
    private Integer numPeople;

    public static final String COL_ID = "Id";

    public static final String COL_USERNAME = "Username";
     
    public static final String COL_PASSWORD = "Password";
     
    public static final String COL_PHONE = "Phone";
     
    public static final String COL_USERCODE = "UserCode";
     
    public static final String COL_EMAIL = "Email";
     
    public static final String COL_ADDRESS = "Address";
     
    public static final String COL_SEX = "Sex";

    public static final String COL_ROLE = "role";

    public static final String COL_USERCLASS = "user_class";

    public static final String COL_USERMAJOR = "user_major";

    public static final String COL_USERHOSTEL = "user_hostel";

    public static final String COL_REMARK = "remark";

    public static final String COL_USERPHOTO= "user_photo";


}

